package com.ruoyi.web.controller.mocha;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.system.service.ISysConfigService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>抹茶交易所-币</p>
 *
 * @author qing Email:jingtingchangqing@gmail.com
 * @since 2021年04月23日 5:30 下午
 */
@Controller
@RequestMapping("/mocha/coin")
public class MochaCoinController extends BaseController {

    private String prefix = "mocha/coin";

    @Autowired
    private ISysConfigService configService;

    @GetMapping()
    public String coin()
    {
        return prefix + "/coin";
    }


    //@RequiresPermissions("system:dept:list")
    @PostMapping("/list")
    @ResponseBody
    public List<SysDept> list(SysDept dept) {
        List<SysDept> deptList = null;//deptService.selectDeptList(dept);
        return deptList;
    }
}
